Skip to main content

PooledRedisClientManager.DisposablePooledClient<T>

Manage a client acquired from the PooledRedisClientManager Dispose method will release the client back to the pool.

Assembly: ServiceStack.Redis.dll
View Source
Declaration
public class DisposablePooledClient<T> : IDisposable where T : RedisNativeClient

Properties

Client

access the wrapped client

View Source
Declaration
public T Client { get; }

Methods

Dispose()

release the wrapped client back to the pool

View Source
Declaration
public void Dispose()

Implements

  • System.IDisposable